import React from 'react';
import { IToolButton } from '@/base-ui/tool-bar';

/* 工具栏区域 */
// 按钮组
export const buttonGroup: IToolButton[] = [
  { type: 'create', text: '新增日志', isShow: true, onClick: () => {}, id: 9 },
  { type: 'import', text: '导入', isShow: true, onClick: () => {}, id: 10 },
  { type: 'export', text: '导出', isShow: true, onClick: () => {}, id: 11 }
];

/* 表格区域 */
export const FormColumns: any = [
  {
    title: '鸡舍号码',
    dataIndex: 'henhouseId',
    key: 'henhouseId',
    width: 100
  },
  {
    title: '消毒人员名称',
    dataIndex: 'disinfectionName',
    key: 'disinfectionName',
  },
  {
    title: '消毒人员联系电话',
    dataIndex: 'disinfectionNumber',
    key: 'disinfectionNumber'
  },
  {
    title: '消毒用品',
    dataIndex: 'disinfectionProduction',
    key: 'disinfectionProduction'
  },
  {
    title: '消毒时间',
    dataIndex: 'disinfectionTime',
    key: 'disinfectionTime',
  },
  {
    title: '消毒方式',
    dataIndex: 'disinfectionWay',
    key: 'disinfectionWay'
  },
];

//复选框的接口
export interface DataType {
  key: React.Key;
  id: string;
  name: string;
  age: number;
  address: string;
}
